import $axios from './index.js'

function copyrightList(data) {
  const url = '/copyright/list'
  return $axios.get(url, data)
}
function addCopyright(data) {
  const url = '/copyright/add'
  return $axios.post(url, data)
}
function editCopyright(data) {
  const url = '/copyright/edit'
  return $axios.post(url, data)
}

function deleteCopyright(data) {
  const url = '/copyright/del'
  return $axios.post(url, data)
}
function copyrightInfo(data) {
  const url = '/copyright/getInfo'
  return $axios.get(url, data)
}

export default {
  copyrightList,
  addCopyright,
  editCopyright,
  deleteCopyright,
  copyrightInfo
}
